package com.njtoyo.taxi.admin.rest.presenter.business.ride;

import com.njtoyo.taxi.admin.mapper.master.enums.RideCategory;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ArrearageRideVO {

    private Long id;

    private String type;

    private User user;

    private RideCategory category;

    @Data
    @Accessors(chain = true)
    public static class User {
        private Long id;
        private String name;
        private String mobileNumber;
    }

    private Driver driver;

    @Data
    @Accessors(chain = true)
    public static class Driver {
        private Long id;
        private String name;
        private String mobileNumber;
    }


    private BigDecimal amount;


    private Date createdAt;

    private String orderNo;


    private String startAddress;

    private String endAddress;
}
